﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _0313
{
    class Program
    {
        public enum mei
        {
            cs ,cs2=5,cs3,cs4=15,

        }
        static void Main(string[] args)
        {
            //System.Console.WriteLine("{0},{1}",char.MinValue);
           
            float i = 10.5F;
            char j = '1';
            char k = '0';
            double dou = 314159E-5;
            int a1 = 5;//101
            int a2 = 6;//110
            int a4 = 6 % (5 * 2);
            
            System.Console.WriteLine("a4 = {0}", a4);
            bool a6 = (((9>a2))||(a1>1))&&(a2<1) ;
            System.Console.WriteLine("(1||1)&&0 ={0}", a6);
            int a3 = a1 & a2;//100


            int ii = 10;
            object obj;
            obj = ii;//装箱
            int x = (int)obj;//拆箱

            int p1;
            System.Console.WriteLine("请输入数据：");
            p1 = Convert.ToInt32(Console.ReadLine());
            System.Console.WriteLine("您的输入是：{0}", p1);


            System.Console.WriteLine("ii = {0},obj = {1} ,x = {2}", ii, obj, x);


            System.Console.WriteLine("a3 = {0}", a3);
            System.Console.WriteLine("314159E-5 = {0}",dou);
            System.Console.WriteLine("mei.cs ={0},  mei.cs3 ={1}",mei.cs.GetHashCode(),mei.cs3.GetHashCode());
            System.Console.WriteLine("jieguo = {0},{1}", j - k, (j - k));
            System.Console.WriteLine("i = {0}", i);
            System.Console.ReadKey();
        }
    }
}
